package com.sunda.spmswms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sunda.spmswms.entity.SapDeliveryNoteLog;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Wayne
 * @since 2021-04-13
 */
public interface ISapDeliveryNoteLogService extends IService<SapDeliveryNoteLog> {

    public void insertSapDeliveryNoteLog(SapDeliveryNoteLog sapDeliveryNoteLog);

    void insertSapDeliveryNoteLogM(String documentNumber, String userId, String comments);

    void insertSapDeliveryNoteLogN(String documentNumber, String userId, String comments, String remarks);

    void insertSapRequestRecord (String documentNumber, String userId, String comments, String remarks, String requestParam);

    /** 根据关联单据号获取单据相关操作日志信息 */
    List<Map<String, Object>> getDocumentLogs(String documentNumber);
}
